package com.lianqi.emcpframework.design.support;

import com.lianqi.emcpframework.design.domain.ValueObject;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @program emcp-portal
 * @ClassName CreateAuditData
 * @description: 创建审计类数据
 * @author: sky
 * @create: 2019/03/12 10:53
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CreateAuditData implements ValueObject<CreateAuditData> {

    /**
     * 创建人
     */
    private String createById;

    /**
     * 创建人
     */
    private String createByName;

    /**
     * 归属租户id
     */
    private String tenantId;

    @Override
    public boolean sameValueAs(CreateAuditData other) {
        return equals(other);
    }
}
